﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace MyAMS.WebServer.Models
{
    /// <summary>
    /// 数据
    /// </summary>
    [DataContract]
    public class Archive : BaseNode
    {
        /// <summary>
        /// 获取或设置标志
        /// </summary>
        [DataMember]
        public IList<Tag> Tags { get; set; }

        /// <summary>
        /// 获取或设置评论
        /// </summary>
        /// <value>评论</value>
        //[DataMember]
        //public IList<Comment> Comments { get; set; }
        //TODO (5he11)
        /// <summary>
        /// 获取或设置一个值，该值指示当前实例是否禁止评论
        /// </summary>
        /// <value><c>true</c> 如果 [禁止评论]; 否则, <c>false</c>.</value>
        [DataMember]
        public bool IsCommentingDisabled { get; set; }
    }
}
